from rest_framework import serializers
from .models import Vacate,Attendance,Notice


class VacateSerializer(serializers.ModelSerializer):
    class Meta:
        model = Vacate
        fields = '__all__'

class NoticeSerializer(serializers.ModelSerializer):
    class Meta:
        model=Notice
        fields='__all__'

class AttendanceSerializer(serializers.ModelSerializer):
    class Meta:
        model=Attendance
        fields='__all__'